body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Oxygen",
    "Ubuntu",
    "Cantarell",
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}
pre {
  font-family: inherit;
}

.react-flow__pane {
  pointer-events: all;
  cursor: default;
}

.AccordionContent {
  overflow: hidden;
}
.AccordionContent[data-state="open"] {
  animation: slideDown 300ms ease-out;
}
.AccordionContent[data-state="closed"] {
  animation: slideUp 300ms ease-out;
}

.gradient-end {
  animation: gradient-motion-end 3s infinite forwards;
}
.gradient-start {
  animation: gradient-motion-start 4s infinite forwards;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: black;
  -webkit-box-shadow: 0 0 0px 1000px #fff6d0 inset;
  box-shadow: 0 0 0px 1000px #fff6d0 inset;
  color: black;
}
.ace_scrollbar::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.ag-cell {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ag-cell-focus {
  border-radius: 0.375rem;
  border: 1px solid #94a3b8 !important;
  background-color: transparent !important;
  text-align: left;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  outline: none !important;
  outline-color: transparent !important;
}

.ag-cell-focus:focus {
  border-color: #94a3b8 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
  background-color: transparent !important;
  outline: none !important;
  outline-color: transparent !important;
}

input .ag-cell-edit-input {
  border: 1px solid transparent !important;
  outline: none !important;
  outline-color: transparent !important;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  height: 16px;
  width: 16px;
  cursor: pointer;
  display: block;
}

input[class^="ag-"]:not([type]),
input[class^="ag-"][type="text"],
input[class^="ag-"][type="number"],
input[class^="ag-"][type="tel"],
input[class^="ag-"][type="date"],
input[class^="ag-"][type="datetime-local"],
textarea[class^="ag-"] {
  border: 1px solid transparent !important;
  outline: none !important;
  outline-color: transparent !important;
  -webkit-box-shadow: none !important; /* Safari and older Chrome versions */
  -moz-box-shadow: none !important; /* Older Firefox versions */
  box-shadow: none !important; /* Standard syntax */
}

input[class^="ag-"][type="text"]:focus,
input[class^="ag-"][type="number"]:focus,
input[class^="ag-"][type="tel"]:focus,
input[class^="ag-"][type="date"]:focus,
input[class^="ag-"][type="datetime-local"]:focus,
textarea[class^="ag-"]:focus {
  border: 1px solid transparent !important;
  outline-color: transparent !important;
  outline: none !important;
  -webkit-box-shadow: none !important; /* Safari and older Chrome versions */
  -moz-box-shadow: none !important; /* Older Firefox versions */
  box-shadow: none !important; /* Standard syntax */
}

.ace_scrollbar::-webkit-scrollbar-track {
  background-color: hsl(var(--muted));
}

.ace_scrollbar::-webkit-scrollbar-thumb {
  background-color: hsl(var(--border));
  border-radius: 999px;
}

.ace_scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--placeholder-foreground));
  border-radius: 999px;
}

.json-view-playground-white-left {
  background-color: #fff !important;
  height: fit-content !important;
}

.json-view-playground-dark {
  background-color: #141924 !important;
  height: fit-content !important;
}

.json-view-playground-white {
  background-color: #f8fafc !important;
  height: fit-content !important;
}

.json-view-playground-dark-left {
  background-color: #0c101a !important;
  height: fit-content !important;
}

.json-view {
  height: 370px !important;
  border-radius: 10px !important;
  padding: 10px !important;
}

.json-view {
  background-color: #f8fafc !important;
}

.dark .json-view {
  background-color: #141924 !important;
}

.react-flow__node.dragging * {
  cursor: grabbing !important;
}

.react-flow__handle-right {
  right: 0 !important;
  transform: translate(50%, -50%) !important;
}

.react-flow__handle-left {
  left: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.react-flow__node-noteNode:not(.selected) {
  z-index: -1 !important;
}

.card-shine-effect {
  --shine-deg: 135deg;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  max-width: 28rem;

  background-repeat: no-repeat;
  background-position:
    100% 100%,
    0 0;

  background-image: linear-gradient(
    var(--shine-deg),
    transparent 20%,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 60%,
    transparent 100%
  );

  background-size:
    250% 250%,
    100% 100%;
  transition: background-position 0s ease;
}

.card-shine-effect:hover {
  background-position:
    -100% -100%,
    0 0;
  transition-duration: 1.5s;
}

span.token {
  display: inline-block;
  max-width: 100%;
}

pre code {
  max-width: 100%;
  display: inline-block;
  width: 100%;
  /* Background color */
  background-color: hsl(var(--code-background)) !important;
  color: hsl(var(--code-foreground)) !important;
}

pre {
  /* Background color */
  background-color: hsl(var(--code-background)) !important;
}

.prose li::marker {
  color: inherit !important;
}

[type="search"]:not(:placeholder-shown)::-webkit-search-cancel-button {
  opacity: 1 !important;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  margin-left: 0.4em;
  position: relative;
  right: -4px;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
  background-color: hsl(var(--foreground)) !important;
  background-image: none;
  cursor: pointer;
}
.react-flow__background pattern circle {
  fill: hsl(var(--canvas-dot)) !important;
}
